<template>
<div class="page">
  <div class='nav'>
    <div class="input_div flex_ac" @click="$back() ">
      <van-icon class="ml6" name="arrow-left" size="26" color="#000"/>
      <div class="nav_title">邀请好友</div>
    </div>
	</div>
	<div class="h40"></div>

  <div class="box">
		<div class="flex_ac mb27">
			<img class="avatar" src="~@/assets/img/my/avatar.png" mode=""></img>
			<div class="">
				<div class="name">名字</div>
				<div class="desc">上海-浦东新区</div>
			</div>
		</div>
		<img class="code" src="~@/assets/img/my/2wm.png" mode=""></img>
		<div class="sm_text mt28">扫一扫上面二维码图案，去登录</div>
	</div>
</div>
</template>

<script>
	export default {
		data() {
			return {
       
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.nav{
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
  height: 40px;
	background-color: rgba($color: #fff, $alpha: 1);
	z-index: 10;
	transition: all 0.5s;
}
.input_div{
	width: 100%;
  height: 100%;
	.nav_title{
		font-weight: 500;
		font-size: 18px;
		color: #000;
	}
}
.page{
	background: #fff;
	height: 100%;
	width: 100%;
}

.box{
		width: 260px;
    margin:  auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-60%);
	}
	.avatar{
		height:45px;
		width:45px;
		border-radius:3px;
		margin-right:15px;
	}
	.name{
		font-weight: bold;
		font-size: 15px;
		color: #000000;
	}
	.desc{
		font-weight: 400;
		font-size: 12px;
		color: #666666;
		margin-top:7px;
	}
	.code{
		width:260px;
		height:260px;
	}
	.sm_text{
		width:100%;
		text-align: center;
		font-weight: 400;
		font-size: 13px;
		color: #CCCCCC;
	}
</style>
